package com.printeverywhere.dto;

/**
 * PromotionalCode entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class PromotionalCode implements java.io.Serializable {

	// Fields

	private Integer id;
	private User user;
	private String promotionalCode;
	private Double money;

	// Constructors

	/** default constructor */
	public PromotionalCode() {
	}

	/** minimal constructor */
	public PromotionalCode(String promotionalCode, Double money) {
		this.promotionalCode = promotionalCode;
		this.money = money;
	}

	/** full constructor */
	public PromotionalCode(User user, String promotionalCode, Double money) {
		this.user = user;
		this.promotionalCode = promotionalCode;
		this.money = money;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getPromotionalCode() {
		return this.promotionalCode;
	}

	public void setPromotionalCode(String promotionalCode) {
		this.promotionalCode = promotionalCode;
	}

	public Double getMoney() {
		return this.money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

}